package com.gzhryc.pay.adaptation.weixin.msg.advance_pay;

import java.io.Serializable;
import java.util.List;

/**
 * 租借确认的通知数据
 * @author zhanghao
 *
 */
public class WXPayAdvancePayConfirmNotify implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String appid;
	private String mchid;
	private String out_order_no;
	private String service_id;
	private String openid;
	/**
	 * 1、CREATED：商户已创建服务订单
	 * 2、DOING：服务订单进行中
	 * 3、DONE：服务订单完成
	 * 4、REVOKED：商户取消服务订单
	 * 5、EXPIRED：服务订单已失效，"商户已创建
	 */
	private String state;
	private String state_description;
	private Integer total_amount;
	private String service_introduction;
	private List<PostPaymentItem> post_payments;
	private List<PostDiscountItem> post_discounts;
	private TimeRange time_range;
	private Location location;
	private RiskFund risk_fund;
	private String attach;
	private String order_id;
	private Boolean need_collection;
	
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getMchid() {
		return mchid;
	}
	public void setMchid(String mchid) {
		this.mchid = mchid;
	}
	public String getOut_order_no() {
		return out_order_no;
	}
	public void setOut_order_no(String out_order_no) {
		this.out_order_no = out_order_no;
	}
	public String getService_id() {
		return service_id;
	}
	public void setService_id(String service_id) {
		this.service_id = service_id;
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getState_description() {
		return state_description;
	}
	public void setState_description(String state_description) {
		this.state_description = state_description;
	}
	public Integer getTotal_amount() {
		return total_amount;
	}
	public void setTotal_amount(Integer total_amount) {
		this.total_amount = total_amount;
	}
	public String getService_introduction() {
		return service_introduction;
	}
	public void setService_introduction(String service_introduction) {
		this.service_introduction = service_introduction;
	}
	public List<PostPaymentItem> getPost_payments() {
		return post_payments;
	}
	public void setPost_payments(List<PostPaymentItem> post_payments) {
		this.post_payments = post_payments;
	}
	public List<PostDiscountItem> getPost_discounts() {
		return post_discounts;
	}
	public void setPost_discounts(List<PostDiscountItem> post_discounts) {
		this.post_discounts = post_discounts;
	}
	public TimeRange getTime_range() {
		return time_range;
	}
	public void setTime_range(TimeRange time_range) {
		this.time_range = time_range;
	}
	public Location getLocation() {
		return location;
	}
	public void setLocation(Location location) {
		this.location = location;
	}
	public RiskFund getRisk_fund() {
		return risk_fund;
	}
	public void setRisk_fund(RiskFund risk_fund) {
		this.risk_fund = risk_fund;
	}
	public String getAttach() {
		return attach;
	}
	public void setAttach(String attach) {
		this.attach = attach;
	}
	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	public Boolean getNeed_collection() {
		return need_collection;
	}
	public void setNeed_collection(Boolean need_collection) {
		this.need_collection = need_collection;
	}
}
